package com.keyancompany.zhongbaopingtai.model;

import android.text.TextUtils;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 发现
 * Created by pengtaoH on 2016/10/11.
 */
public class FindModel implements Serializable {


    /**
     * summary : 1
     * phone : 18600624024
     * setlevel : 0
     * invoice :
     * tel :
     * endTime : 2016-10-31
     * milestone_fill : 0
     * startTime : 2016-09-30 08:53:53
     * description : 10月1日，人民币将正式加入国际货币基金组织(IMF)特别提款权(SDR)货币篮子，这是SDR创建以来首次纳入新兴经济体货币，人民币将开启作为全球储备货币的“新征程”。
     * projectpatents : 1
     * papers_type : 30
     * userId : ff80808155ec566a0155ec62bc200001
     * industry :
     * bidder :
     * cycle : 20
     * isexamine :
     * contract : 0
     * number : 0
     * url : #
     * finishtime :
     * isevaluatefabao : 0
     * seachfenlei1 : 11f2b206a5464412841a20e3a7b94523
     * employmentnum :
     * worktype :
     * bidding : 0
     * seachfenlei11 : 5f1be2e404c445afb8121d7dbc7cb835
     * createTime :
     * budget : 20000.0
     * state : 竞标中
     * talent : 0
     * fabaoConfirm :
     * security : 1
     * project_type : 0
     * projectpublic : 1
     * title : 开启全球储备货币新征程
     * PID_ : ff80808157786a4601577892202f0001
     * seachfenlei111 :
     * demandfrom :
     * qq :
     * mail :
     * jiebaoConfirm :
     * isLevel : 1
     * isevaluatejiebao : 0
     * casex :
     * contractUrl :
     * certification : 3
     * tender : 美国彼得森国际经济研究所高级研究员尼古拉斯·拉迪(Nicholas R. Lardy)在接受中新社记者采访时表示，“入篮”是人民币国际化发展进程中的一步，中国金融体系改革的深入将推动人民币成为更强大的货币。
     * pcertification :
     * wixin :
     * fenshu : 1
     * collectFlag;
     */


    private String pid;
    private int summary;
    private String phone;
    private String setlevel;
    private String invoice;
    private String tel;
    private String endTime;
    private int milestone_fill;
    private String startTime;
    private String description;
    private int projectpatents;
    private String projectpid;
    private String papers_type;
    private String userId;
    private String industry;
    private String bidder;
    private String cycle;
    private String isexamine;
    private int contract;
    private int number;
    private String url;
    private String finishtime;
    private int isevaluatefabao;
    private String seachfenlei1;
    private String employmentnum;
    private String worktype;
    private int bidding;
    private String seachfenlei11;
    private String createTime;
    private double budget;
    private String state;
    private int talent;
    private String fabaoConfirm;
    private int security;
    private int project_type;
    private int projectpublic;
    private String title;
    private String PID_;
    private String seachfenlei111;
    private String demandfrom;
    private String qq;
    private String mail;
    private String jiebaoConfirm;
    private String isLevel;
    private int isevaluatejiebao;
    private String casex;
    private String contractUrl;
    private int certification;
    private String tender;
    private String pcertification;
    private String wixin;
    private int fenshu;
    private int isMe;
    private String projectName;
    private String progress;
    private String reason;
    private int collectFlag;
    private String username;
    private List<DummyItem> tcategory;
    private List<DummyItem> pindustrys;

    private List<User> biders;

    public List<User> getBiders() {
        return biders;
    }

    public void setBiders(List<User> biders) {
        this.biders = biders;
    }

    public List<DummyItem> getTcategory() {
        return tcategory;
    }

    public void setTcategory(List<DummyItem> tcategory) {
        this.tcategory = tcategory;
    }

    public List<DummyItem> getPindustrys() {
        return pindustrys;
    }

    public void setPindustrys(List<DummyItem> pindustrys) {
        this.pindustrys = pindustrys;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getProjectpid() {
        return projectpid;
    }

    public void setProjectpid(String projectpid) {
        this.projectpid = projectpid;
    }

    //0,待协商; 1,协商成功; 2,协商失败; 3,仲裁中; 4,一次仲裁失败; 5,一次仲裁成功; 6,仲裁中; 7,二次仲裁成功; 8,二次仲裁失败;
    public String getStateStr() {
        if (TextUtils.isEmpty(state)) {
            return "未确认";
        }
        String value = "";
        switch (Integer.valueOf(state)) {
            case 0:
                value = "待协商";
                break;
            case 1:
                value = "协商成功";
                break;
            case 2:
                value = "协商失败";
                break;
            case 3:
                value = "仲裁中";
                break;
            case 4:
                value = "一次仲裁失败";
                break;
            case 5:
                value = "一次仲裁成功";
                break;
            case 6:
                value = "二次仲裁中";
                break;
            case 7:
                value = "二次仲裁成功";
                break;
            case 8:
                value = "二次仲裁失败";
                break;
        }
        return value;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    /**
     * 0 no  1 yes
     *
     * @return
     */
    public int getCollectFlag() {
        return collectFlag;
    }

    public void setCollectFlag(int collectFlag) {
        this.collectFlag = collectFlag;
    }

    public String getProgress() {
        return progress;
    }

    public void setProgress(String progress) {
        this.progress = progress;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public void setSummary(int summary) {
        this.summary = summary;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public void setSetlevel(String setlevel) {
        this.setlevel = setlevel;
    }

    public void setInvoice(String invoice) {
        this.invoice = invoice;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public void setMilestone_fill(int milestone_fill) {
        this.milestone_fill = milestone_fill;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public void setProjectpatents(int projectpatents) {
        this.projectpatents = projectpatents;
    }

    public void setPapers_type(String papers_type) {
        this.papers_type = papers_type;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public void setIndustry(String industry) {
        this.industry = industry;
    }

    public void setBidder(String bidder) {
        this.bidder = bidder;
    }

    public void setCycle(String cycle) {
        this.cycle = cycle;
    }

    public void setIsexamine(String isexamine) {
        this.isexamine = isexamine;
    }

    public void setContract(int contract) {
        this.contract = contract;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public void setFinishtime(String finishtime) {
        this.finishtime = finishtime;
    }

    public void setIsevaluatefabao(int isevaluatefabao) {
        this.isevaluatefabao = isevaluatefabao;
    }

    public void setSeachfenlei1(String seachfenlei1) {
        this.seachfenlei1 = seachfenlei1;
    }

    public void setEmploymentnum(String employmentnum) {
        this.employmentnum = employmentnum;
    }

    public void setWorktype(String worktype) {
        this.worktype = worktype;
    }

    public void setBidding(int bidding) {
        this.bidding = bidding;
    }

    public void setSeachfenlei11(String seachfenlei11) {
        this.seachfenlei11 = seachfenlei11;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public void setBudget(double budget) {
        this.budget = budget;
    }

    public void setState(String state) {
        this.state = state;
    }

    public void setTalent(int talent) {
        this.talent = talent;
    }

    public void setFabaoConfirm(String fabaoConfirm) {
        this.fabaoConfirm = fabaoConfirm;
    }

    public void setSecurity(int security) {
        this.security = security;
    }

    public void setProject_type(int project_type) {
        this.project_type = project_type;
    }

    public void setProjectpublic(int projectpublic) {
        this.projectpublic = projectpublic;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setPID_(String PID_) {
        this.PID_ = PID_;
    }

    public void setSeachfenlei111(String seachfenlei111) {
        this.seachfenlei111 = seachfenlei111;
    }

    public void setDemandfrom(String demandfrom) {
        this.demandfrom = demandfrom;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public void setJiebaoConfirm(String jiebaoConfirm) {
        this.jiebaoConfirm = jiebaoConfirm;
    }

    public void setIsLevel(String isLevel) {
        this.isLevel = isLevel;
    }

    public void setIsevaluatejiebao(int isevaluatejiebao) {
        this.isevaluatejiebao = isevaluatejiebao;
    }

    public void setCasex(String casex) {
        this.casex = casex;
    }

    public void setContractUrl(String contractUrl) {
        this.contractUrl = contractUrl;
    }

    public void setCertification(int certification) {
        this.certification = certification;
    }

    public void setTender(String tender) {
        this.tender = tender;
    }

    public void setPcertification(String pcertification) {
        this.pcertification = pcertification;
    }

    public void setWixin(String wixin) {
        this.wixin = wixin;
    }

    public void setFenshu(int fenshu) {
        this.fenshu = fenshu;
    }

    public int getSummary() {
        return summary;
    }

    public String getPhone() {
        return phone;
    }

    public String getSetlevel() {
        return setlevel;
    }

    public String getInvoice() {
        return invoice;
    }

    public String getTel() {
        return tel;
    }

    public String getEndTime() {
        return endTime;
    }

    public int getMilestone_fill() {
        return milestone_fill;
    }

    public String getStartTime() {
        return startTime;
    }

    public String getDescription() {
        return description;
    }

    public int getProjectpatents() {
        return projectpatents;
    }

    public String getPapers_type() {
        return papers_type;
    }

    public String getUserId() {
        return userId;
    }

    public String getIndustry() {
        return industry;
    }

    public String getBidder() {
        return bidder;
    }

    public String getCycle() {
        return cycle;
    }

    public String getIsexamine() {
        return isexamine;
    }

    public int getContract() {
        return contract;
    }

    public int getNumber() {
        return number;
    }

    public String getUrl() {
        return url;
    }

    public String getFinishtime() {
        return finishtime;
    }

    public int getIsevaluatefabao() {
        return isevaluatefabao;
    }

    public String getSeachfenlei1() {
        return seachfenlei1;
    }

    public String getEmploymentnum() {
        return employmentnum;
    }

    public String getWorktype() {
        return worktype;
    }

    public int getBidding() {
        return bidding;
    }

    public String getSeachfenlei11() {
        return seachfenlei11;
    }

    public String getCreateTime() {
        return createTime;
    }

    public double getBudget() {
        return budget;
    }

    public String getState() {
        return state;
    }

    public int getTalent() {
        return talent;
    }

    public String getFabaoConfirm() {
        return fabaoConfirm;
    }

    public int getSecurity() {
        return security;
    }

    public int getProject_type() {
        return project_type;
    }

    public int getProjectpublic() {
        return projectpublic;
    }

    public String getTitle() {
        return title;
    }

    public String getPID_() {
        return PID_;
    }

    public String getSeachfenlei111() {
        return seachfenlei111;
    }

    public String getDemandfrom() {
        return demandfrom;
    }

    public String getQq() {
        return qq;
    }

    public String getMail() {
        return mail;
    }

    public String getJiebaoConfirm() {
        return jiebaoConfirm;
    }

    public String getIsLevel() {
        return isLevel;
    }

    public int getIsevaluatejiebao() {
        return isevaluatejiebao;
    }

    public String getCasex() {
        return casex;
    }

    public String getContractUrl() {
        return contractUrl;
    }

    public int getCertification() {
        return certification;
    }

    public String getTender() {
        return tender;
    }

    public String getPcertification() {
        return pcertification;
    }

    public String getWixin() {
        return wixin;
    }

    public int getFenshu() {
        return fenshu;
    }


    public int getIsMe() {
        return isMe;
    }

    public void setIsMe(int isMe) {
        this.isMe = isMe;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    @Override
    public String toString() {
        return "FindModel{" +
                "summary=" + summary +
                ", phone='" + phone + '\'' +
                ", setlevel='" + setlevel + '\'' +
                ", invoice='" + invoice + '\'' +
                ", tel='" + tel + '\'' +
                ", endTime='" + endTime + '\'' +
                ", milestone_fill=" + milestone_fill +
                ", startTime='" + startTime + '\'' +
                ", description='" + description + '\'' +
                ", projectpatents=" + projectpatents +
                ", papers_type='" + papers_type + '\'' +
                ", userId='" + userId + '\'' +
                ", industry='" + industry + '\'' +
                ", bidder='" + bidder + '\'' +
                ", cycle='" + cycle + '\'' +
                ", isexamine='" + isexamine + '\'' +
                ", contract=" + contract +
                ", number=" + number +
                ", url='" + url + '\'' +
                ", finishtime='" + finishtime + '\'' +
                ", isevaluatefabao=" + isevaluatefabao +
                ", seachfenlei1='" + seachfenlei1 + '\'' +
                ", employmentnum='" + employmentnum + '\'' +
                ", worktype='" + worktype + '\'' +
                ", bidding=" + bidding +
                ", seachfenlei11='" + seachfenlei11 + '\'' +
                ", createTime='" + createTime + '\'' +
                ", budget=" + budget +
                ", state='" + state + '\'' +
                ", talent=" + talent +
                ", fabaoConfirm='" + fabaoConfirm + '\'' +
                ", security=" + security +
                ", project_type=" + project_type +
                ", projectpublic=" + projectpublic +
                ", title='" + title + '\'' +
                ", PID_='" + PID_ + '\'' +
                ", seachfenlei111='" + seachfenlei111 + '\'' +
                ", demandfrom='" + demandfrom + '\'' +
                ", qq='" + qq + '\'' +
                ", mail='" + mail + '\'' +
                ", jiebaoConfirm='" + jiebaoConfirm + '\'' +
                ", isLevel='" + isLevel + '\'' +
                ", isevaluatejiebao=" + isevaluatejiebao +
                ", casex='" + casex + '\'' +
                ", contractUrl='" + contractUrl + '\'' +
                ", certification=" + certification +
                ", tender='" + tender + '\'' +
                ", pcertification='" + pcertification + '\'' +
                ", wixin='" + wixin + '\'' +
                ", fenshu=" + fenshu +
                ", isMe=" + isMe +
                '}';
    }
}
